import { handleRequest } from './index';

// 获取-验收计划列表
export function getSafteyClosurePlanList(data) {
    return handleRequest({
        url: '/month-safe/confess-plan/list',
        method: 'post',
        data
    })
}

// 获取-验收计划统计
export function getSafteyClosurePlanCount(data) {
    return handleRequest({
        url: '/month-safe/count-confess',
        method: 'post',
        data
    })
}


// 查看-验收计划详情
export function getSafteyClosurePlanDetail(params) {
    return handleRequest({
        url: '/month-safe/confess-plan',
        method: 'get',
        params
    })
}

// 新增-验收计划
export function addSafteyClosurePlan(data) {
    return handleRequest({
        url: '/month-safe/confess-plan',
        method: 'post',
        data
    })
}

// 修改-验收计划
export function updateSafteyClosurePlan(data) {
    return handleRequest({
        url: '/month-safe/confess-plan/update',
        method: 'post',
        data
    })
}

// 删除-验收计划
export function deleteSafteyClosurePlan(params) {
    return handleRequest({
        url: '/month-safe/confess-plan/del',
        method: 'post',
        params
    })
}

